import request from '@/utils/request.js'

// 获取验证码
export function smsCodes (mobile) {
  return request({
    url: '/v1_0/sms/codes/' + mobile
  })
}
// 登录接口
export function authorizations (data) {
  return request({
    url: '/v1_0/authorizations',
    method: 'post',
    data
  })
}
